﻿@using TinyMoocSite.ViewModels
@model StudentListVM

@{
    ViewBag.Title = Model.Title + "|选课列表";
    Layout = "~/Views/Teacher/CoursePageLayout.cshtml";
}

@section StudentList { active }

@section RightContainer
{
    <h4>选课列表</h4><hr />

    <table class="table">
        <thead>
            <tr>
                <th>姓名</th>
                <th>学号</th>
                <th>邮箱</th>
                <th>上次登录时间</th>
            </tr>
        </thead>
        <tbody>
            @foreach (StudentShortItem item in Model.StudentList)
            {
                <tr>
                    <td>@item.FullName</td>
                    <td>@item.LicenseId</td>
                    <td>@item.Email</td>
                    <td>@item.LastActivityDate</td>
                </tr>
            }

        </tbody>
    </table>
}


